<!DOCTYPE html>
<html lang="en">

<head>
    <meta charset="UTF-8">
    <meta http-equiv="X-UA-Compatible" content="IE=edge">
    <meta name="viewport" content="width=device-width, initial-scale=1.0">
    <title>Document</title>
    <style>
        .container {
            width: 100vw;
            height: 100vh;
            background: #FF4000;
            display: grid;
            grid-template-rows: 1fr 1fr 1fr;
            grid-template-columns: 1fr 1fr 1fr;
            /* // grid-row-gap: 5px; // 行间距
        // grid-column-gap: 5px; // 列间距 */

        }

        .item {
            text-align: center;
            border: 1px solid #fff;
            font-weight: bold;
        }

        .item:nth-child(1) {
            background: red;
        }

        .item:nth-child(2) {
            background: green;
            /* 行是 1/3 */
            /* 列是 2/3 */
            grid-column: 2 / 3;
            grid-row: 1 / 3;
        }

        .item:nth-child(3) {
            background: blue;
        }
    </style>
</head>

<body>
    <div class="container">
        <div class="item">bi-1</div>
        <div class="item">bi-2</div>
        <div class="item">bi-3</div>
        <div class="item">bi-4</div>
        <div class="item">bi-5</div>
        <div class="item">bi-6</div>
        <div class="item">bi-7</div>
        <div class="item">bi-8</div>

    </div>
</body>

</html>